package amiral;

public class ClassB extends ClassA{
	
	private String prenom;

	public String getPrenom() {
		return prenom;
	}

	public void setPrenom(String prenom) {
		this.prenom = prenom;
	}

	@Override
	public String toString() {
		return "ClassB [prenom=" + prenom + "] " + this.getNom()  ;
	}
	
	

}
